{% extends "base.html" %}
{% load uni_form_tags %}

{% block title %} Modify the book note information - {{ block.super }} {% endblock %}

{% block content %}

<h2> Modify the note information </h2> 
{% ifequal next 'no' %}




<form method="POST" class="uniForm" action ="{% url book_upnote %}"> 
  <fieldset>
      {{ noteform|as_uni_form }}
  </fieldset>
    <input type="hidden" name = "dontvalidate" value = "no" />
    <input type="hidden" name = "note_id" value = "{{ note_id }}" />
  <div class="buttonHolder">
    <button type="submit" class="primaryAction">Update</button>
  </div>
</form>

{% endifequal %}

{% ifequal next 'yes' %}

your note is updated , <a href="{% url thought_refs %}">go back to the list ?</a> 
{% endifequal %}

{% endblock %}

